package com.airport.ticket.entity;

/**
 * 枚举
 *
 * @author wsh
 */
public enum FlightInfoEnum {
    DIRECTTYPE_ZHI(Byte.valueOf("0"), "直达"),
    DIRECTTYPE_ZHONGZHUAN(Byte.valueOf("1"), "中转");

    private byte status;
    private String name;

    private FlightInfoEnum(byte status, String name) {
        this.status = status;
        this.name = name;
    }

    public byte getStatus() {
        return status;
    }

    public void setStatus(byte status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}